﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/admin/AdminMaster.master"
    CodeBehind="editOrg.aspx.cs" Inherits="MLY.Admin.editOrg" Title='<%$Dict:editGrid.Title%>' %>

<asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .OrgTbl tr
        {
            height: 30px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="mainContent" runat="server">
    <table id="win-xp" class="blueTxtBox OrgTbl" width="371px" border="0" cellpadding="0"
        cellspacing="0">
        <tr>
            <td style=" width:20px;">
                <img src="../Images/orginfo/contact_icon.png" />
            </td>
            <td>
                <asp:Label ID="lblOrgName" runat="server" Text='<%$Dict:editOrg.ClientName%>'></asp:Label>
            </td>
            <td style="width: 215px">
                <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <img src="../Images/orginfo/address_icon.png" />
            </td>
            <td>
                <asp:Label ID="lblOrgAddress" runat="server" Text='<%$Dict:editOrg.ClientAddress%>'></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtAddress" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <img src="../Images/orginfo/contact_person_icon.png" />
            </td>
            <td>
                <asp:Label ID="lblContactPerson" runat="server" Text='<%$Dict:editOrg.ContactPerson%>'></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtContactPerson" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <img src="../Images/orginfo/phone_num_icon.png" />
            </td>
            <td>
                <asp:Label ID="lblContactPersonPhone" runat="server" Text='<%$Dict:editOrg.ContactPersonPhone%>'></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtContactPhone" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <img src="../Images/orginfo/email_icon.png" />
            </td>
            <td>
                <asp:Label ID="lblEMail" runat="server" Text='<%$Dict:editOrg.ContactPersonEmail%>'></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtContactEMail" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <img src="../Images/orginfo/cost_icon.png" />
            </td>
            <td>
                <asp:Label ID="lblPaymentTypeId" runat="server" Text='<%$Dict:editOrg.PayMentType%>'></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="ddlPayMentType" runat="server" CssClass="filterDdl" DataSourceID="LinqDataSource1"
                    DataTextField="PaymentTypeDescription" DataValueField="PaymentTypeId">
                </asp:DropDownList>
                <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="MLY.Dal.lqKbmDataContext"
                    TableName="LookupPaymentTypes">
                </asp:LinqDataSource>
            </td>
        </tr>
        <tr>
            <td>
                <img src="../Images/orginfo/Default-Days-Daviation_icon.png" />
            </td>
            <td>
                <asp:Label ID="lblTag" runat="server" Text='<%$Dict:editOrg.Tag%>'></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtTag" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <img src="../Images/orginfo/url_icon.png" />
            </td>
            <td>
                <asp:Label ID="lblWebSite" runat="server" Text='<%$Dict:editOrg.WebSite%>'></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtWebSite" runat="server" Style="margin-left: 0px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td colspan="3">
                <uc:StyledCheckBox ID="CheckBoxClient" Text='<%$Dict:editOrg.lblIsClient%>' runat="server" />
            
                <uc:StyledCheckBox ID="CheckBoxContractor" Text='<%$Dict:editOrg.lblIsContractor%>' runat="server" />
           
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Label ID="Label1" runat="server" Text='<%$Dict:editOrg.OrganizationClassification%>'></asp:Label>
            </td>
            <td>
                <asp:DropDownList runat="server" ID="classificationDdl" DataSourceID="LinqDataSource2"
                    CssClass="filterDdl" DataTextField="ClassificationDescription" DataValueField="ClassificationId">
                </asp:DropDownList>
                <asp:LinqDataSource ID="LinqDataSource2" runat="server" ContextTypeName="MLY.Dal.lqKbmDataContext"
                    TableName="LookupClassifications">
                </asp:LinqDataSource>
            </td>
        </tr>
        <tr>
            <td colspan="3">
                <table class="bottomBtnsCls" width="120" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td>
                            <asp:ImageButton ID="ImageButton3" Width="13" Height="13" runat="server" ImageUrl="~/Images/add_wo/close_icon.png"
                                CausesValidation="false" OnClick="btnCancel_Click" />&nbsp;
                        </td>
                        <td>
                            <asp:Literal ID="Literal20" runat="server" Text='<%$Dict:clientAddWo.Close %>' />
                        </td>
                        <td>
                            <asp:ImageButton ID="ImageButton4" runat="server" Width="13" Height="13" ImageUrl="~/Images/add_wo/save_icon.png"
                                CausesValidation="true" OnClick="btnOk_Click" />
                        </td>
                        <td>
                            <asp:Literal ID="Litearl1" runat="server" Text='<%$Dict:clientAddWo.Save %>' />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
